package xyz.playedu.inspection.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import xyz.playedu.common.types.paginate.DeviceNamePaginateFiler;
import xyz.playedu.common.types.paginate.DeviceTypePaginateFiler;
import xyz.playedu.common.types.paginate.PaginationResult;
import xyz.playedu.inspection.domain.DeviceNameDict;
import xyz.playedu.inspection.domain.DeviceTypeDict;

public interface DeviceNameDictService extends IService<DeviceNameDict> {

    PaginationResult<DeviceNameDict> paginate(int page, int size, DeviceNamePaginateFiler filter);


    DeviceNameDict getDeviceTypeById(@Param("id") Long id);

    int delInfoById(@Param("id") Long id);
}
